<template>
  <el-checkbox-group v-model="model[modelName]">
    <el-checkbox
      v-for="(item, index) in optionArr"
      :key="index"
      :true-label="item.trueLabel"
      :false-label="item.falseLabel"
      :disabled="item.disabled"
      :border="item.border"
      :size="item.size"
      :name="item.name"
      :checked="item.checked"
      :indeterminate="item.indeterminate"
      :validate-event="item.validateEvent"
      :label="item.label"
    />
  </el-checkbox-group>
</template>

<script>
import props from "./props";
export default {
  mixins: [props],
};
</script>

<style lang="scss" scoped></style>
